home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_12_05
/
saks
/
lns3.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-03-23
|
377b
|
21 lines
Listing 10 - An lns header with lns as an abstract base class and a
static create function
//
// lns3.h - line number sequence interface
//
#ifndef LNS_H_INCLUDED
#define LNS_H_INCLUDED
class lns
{
public:
static lns *create(unsigned n);
virtual ~lns() = 0;
virtual void add(unsigned n) = 0;
virtual void print() = 0;
};
#endif